﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Baidu.API {
    public class Config {
        /// <summary>
        /// 禁止实例化
        /// </summary>
        private Config() { }

        /// <summary>
        /// 百度开放服务平台 API Key
        /// </summary>
        public static string API_KEY { set; get; }

        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="apikey">百度开放服务平台 API Key</param>
        public static void Init(string apikey){
            API_KEY = apikey;
        }
    }
}
